msr_to_csr Function

public function msr_to_csr(a, err) result(rst)

Converts an MSR matrix to a CSR matrix.

Arguments

Type IntentOptional Attributes Name
class(msr_matrix), intent(in) :: a

The MSR matrix to convert.

class(errors), intent(inout), optional, target :: err

The error object to be updated.

Return Value type(csr_matrix)

The CSR matrix.